package cn.xiaopengstack.domain.weixin.auth.adapter;

import java.io.IOException;

/**
 * @author jiangyangang
 */
public interface ILoginPort {
    /**
     * 获取 accessToken
     * @return
     * @throws IOException
     */
    String createQrCodeTicket() throws IOException;

    /**
     * 发送模板消息
     * @param openid
     * @throws IOException
     */
    void sendLoginTemplate(String openid) throws IOException;
}
